package com.xhh.nphm.system.mapper;

import com.xhh.nphm.system.domain.SensitiveInfoField;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Administrator
* @description 针对表【tm_sensitive_info_field】的数据库操作Mapper
* @createDate 2022-07-11 16:44:22
* @Entity com.xhh.nphm.system.domain.SensitiveInfoField
*/
public interface SensitiveInfoFieldDao extends BaseMapper<SensitiveInfoField> {
    /**
     * 查询所有敏感信息属性
     *
     * @param infoField 查询条件
     * @return 列表数据
     */
    @Select("SELECT id,code,name FROM tm_sensitive_info_field WHERE IsDel = 0 " +
            "[[and code = #{code}]] [[and name = #{name}]]")
    List<SensitiveInfoField> sensitiveInfoFieldJson(SensitiveInfoField infoField);
}




